package entities.box_plot;

import data.enums.ArchiveDescription;
import data.enums.TableType;
import entities.AbstractTable;

public class TableBoxPlotByLearningRate extends AbstractTable<Double>{

	public TableBoxPlotByLearningRate(TableMlpTestsOneIndexByContinent tableMlp, ArchiveDescription description) {
		super(tableMlp, description, TableType.BOX_PLOT_BY_LEARNING_RATES);
	}

	@Override
	protected void initializeTable(TableMlpTestsOneIndexByContinent tableMlp) {
		
		for (RowOneIndexByContinent row : tableMlp.getRows()) {
			addRow(row.getLearningRate(), row.getPercentualCorrect());
		}
		
	}

}
